﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools;

namespace EntityPet
{
    public class PetDbContext:DbContext
    {
        public PetDbContext(DbContextOptions<PetDbContext> opts) : base(opts)
        {
            
        }
       
        /// <summary>
        /// 宠物培训
        /// </summary>
        public DbSet<Pet_training> Pet_training { get; set; }
       
        /// <summary>
        /// 宠物保险
        /// </summary>
        public DbSet<Pet_insurance> pet_Insurance { get; set; }

        /// <summary>
        /// 宠物保险
        /// 保险项
        /// </summary>
        public DbSet<Pet_InsCover> Pet_InsCover { get; set; }

        /// <summary>
        /// 宠物保险
        /// 投保：
        /// 1.线下投保 2.线上投保
        /// </summary>
        public DbSet<Pet_InsMethod> Pet_InsMethod { get; set; }


        /// <summary>
        /// 宠物财务——生产
        /// </summary>
        public DbSet<Pet_finance> Pet_finance { get; set; }

        /// <summary>
        /// 宠物护理
        /// </summary>
        public DbSet<Pet_Care> Pet_Care { get; set; }

        /// <summary>
        /// 宠物护理套餐
        /// </summary>
        public DbSet<Pet_Caremenu> Pet_Caremenu { get; set; }

        /// <summary>
        /// 护理方式
        /// </summary>
        public DbSet<Pet_CareWay> Pet_CareWay { get; set; }

        /// <summary>
        /// 领养表
        /// </summary>
        public DbSet<Pet_adopt> Pet_adopt { get; set; }
      
        /// <summary>
        /// 寄养表
        /// </summary>
        public DbSet<Pet_foster> Pet_foster { get; set; }
       
        /// <summary>
        /// 用户表
        /// </summary>
        public DbSet<Pet_User> Pet_User { get; set; }


        /// <summary>
        /// 登录表
        /// </summary>
        public DbSet<Pet_logon> Pet_logon { get; set; }

        /// <summary>
        /// 商店表
        /// </summary>
        public DbSet<Pet_Store> Pet_Store { get; set; }

        /// <summary>
        /// 外卖表
        /// </summary>
        public DbSet<Pet_TakeoutFood> Pet_TakeoutFood { get; set; }

        /// <summary>
        /// 直播计划表
        /// </summary>
        public DbSet<Pet_live> Pet_live { get; set; }

        /// <summary>
        /// 售后服务
        /// </summary>
        public DbSet<Pet_Service> Pet_Service { get; set; }

        /// <summary>
        /// 会员
        /// </summary>
        public DbSet<Pet_Vip> Pet_Vip { get; set; }

        /// <summary>
        /// 基本信息
        /// </summary>
        public DbSet<Pet_Information> Pet_Information { get; set; }

    }



}
